package com.monkey.model.synthesise;

import com.monkey.core.ErrorCode;
import com.monkey.model.monkey.MonkeyData;

/**
 * desc: auth: lpb data: 2018/3/1.
 */
public class SynthesiseData {
	private int code;
	private String msg;
	private boolean isGod;
	private MonkeyData monkey;
	private String uuid;

	public SynthesiseData(int code) {
		this.code = code;
		this.msg = ErrorCode.getMsg(code);
	}

	public SynthesiseData(int code, boolean isGod, MonkeyData monkey, String uuid) {
		this.code = code;
		this.isGod = isGod;
		this.monkey = monkey;
		this.uuid = uuid;
		this.msg = ErrorCode.getMsg(code);
	}

	public int getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}

	public boolean getIsGod() {
		return isGod;
	}
	
	public MonkeyData getMonkey() {
		return monkey;
	}
	
	public String getUuid() {
		return uuid;
	}
}